package com.link.base.base.duty.controller;

import javax.annotation.Resource;

import com.link.base.base.duty.model.DutyPostn;
import com.link.base.base.duty.service.DutyPostnService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.link.core.basic.service.KeyGenerateService;

/**
 * @author: 朱义鹏
 * @date: 2019-01-24
 * @comments:
 */
@Controller
@RequestMapping("/link/dutyPostn")
public class DutyPostnController extends BasicController<DutyPostn> {
 
    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private DutyPostnService dutyPostnService;

    @Override
    public BasicService<DutyPostn> getBasicService() throws Exception {
        return dutyPostnService;
    }     
}
